# 1.创建有数据集合
# 创建集合使用{}或 set(),但是如果要创建空集合只能使用set(),因为{}用来创建空字典
s1 = {10,20,30,40,50}
print(s1)

s2 = {10,20,20,30,40,50}
print(s2)
print(type(s2))

s3 = set('abcdefg')
print(s3)
s4 = set([10,20,30,40,50])
print(s4)

# 2.创建空集合: set()
s5 = set()
print(s4)
print(type(s4))

s6 ={}
print(type(s6))